package com.ai.core.exception;

public class RequestException extends RuntimeException {
	private static final long serialVersionUID = 1L;
	
	private String code;

	public RequestException() {
		super();
	}

	public RequestException(String message, Throwable cause,String code) {
		super(message, cause);
		this.code = code;
	}

	public RequestException(String message,String code) {
		super(message);
		this.code = code;
	}

	public String getCode() {
		return code;
	}

	public RequestException(Throwable cause,String code) {
		super(cause);
		this.code = code;
	}
}